package easy;

public class Solution_1844 {

    public String replaceDigits(String s) {
        char[] chars = s.toCharArray();
        for (int i = 1; i < s.length(); i += 2) {
            chars[i] = (char) (chars[i - 1] + (chars[i] - '0'));
        }
        return new String(chars);
    }

    public static void main(String[] args) {
        Solution_1844 model = new Solution_1844();
    }
}
